package com.foreknow.service;

import com.foreknow.bean.Guestbook;

import java.util.List;

public interface GuestbookService {
    /**
     * 查询所有留言信息
     * @return
     */
    public List<Object> queryInfo();

    /**
     * 添加留言信息
     * @return
     */
    public boolean addInfo(Guestbook gb);

    /**
     * 根据id删除
     * @param gb
     * @return
     */
    public boolean deleteGuestbookById(Integer gb);
}
